package com.jt.service;

import com.jt.anno.Pri;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.ResponseBody;

@Service
public class CatServiceImpl implements CatService{

    @Override
    public String addCat(String a) {
        System.out.println("添加了一只小猫咪"+a);
        return a;
    }

    @Override
    @Pri(name = "addd")
    public void deleteCat() {
        System.out.println("干掉了一只小猫咪");
    }
}
